package com.xi.service.Impl;

import com.xi.mapper.SystemsMapper;
import com.xi.pojo.Systems;
import com.xi.service.SystemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SystemsServiceImpl implements SystemsService {
    @Autowired
    private SystemsMapper systemsMapper;

    /*
    * 显示系统信息
    * */
    @Override
    public Systems getSystems() {
        return systemsMapper.getSystems();
    }

    /*
    * 修改系统信息
    * */
    @Override
    public void updateSystems(Systems systems) {
        systemsMapper.updateSystems(systems);
    }
}
